package com.zhouqinuan.spring.cloud.develop.framework.demo.mongodb.document;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;

@Data
@Document("user")
public class UserDocument {
    @Id
    private String id;
    
    private String name;
    
    private Integer age;
    
    private String desc;

    private List<String> movies;
}
